package com.doyens.service.Impl;

import com.doyens.mapper.TeacherMapper;
import com.doyens.pojo.Teacher;
import com.doyens.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TeacherServiceImpl implements TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;
    /**
     * 查询老师表
     */
    @Override
    public List<Teacher> findAllTeach() {
        return teacherMapper.findAllTeach();
    }
}
